import { JKManager } from "../../JKCore/Script/JKManager";

const { ccclass, property } = cc._decorator;

/**
 * 业务逻辑入口 
 */
@ccclass
export class Main_MissionEditor extends cc.Component {
    @property(cc.Node)
    ndUiRoot: cc.Node = null

    onLoad() {
        cc.log(`${cc.js.getClassName(this)} onLoad`)

        JKManager.init(this.ndUiRoot)
    }

    start() {
        cc.log(`${cc.js.getClassName(this)} start`)

        JKManager.UiManager.showNormalView(`BubbleShooter/Prefab/View/MissionEditorView/MissionEditorView`)
    }
}